//
//  ResumeInfoModel.m
//  FindJob
//
//  Created by 233 on 16/3/2.
//  Copyright © 2016年 Lee. All rights reserved.
//

#import "ResumeInfoModel.h"

@implementation ResumeInfoModel

+ (instancetype)shareResumeInfoModel{
    static ResumeInfoModel *model = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        model = [[ResumeInfoModel alloc] init];
        
    });
    return model;
}
- (void)fillWithDictionary:(NSDictionary *)dict{
    NSArray *keys = [dict allKeys];
    for (NSString *aKey in keys) {
        id value = dict[aKey];
        if ([value isKindOfClass:[NSNull class]]) {
            value = @"";
        }
        [self setValue:value forKey:aKey];
    }
    
    
}
@end
